package com.demo2do.fms.admin.entity.export.business;

/**
 * 
 *
 * @author Ark
 *
 */
public class ExpenseSheetPage {

    /** 当前页 */
    private int currents;
    
    /** 总页数 */
    private int totals;
    
    /**
     * The default constructor
     */
    public ExpenseSheetPage() {
        
    }
    
    /**
     * 
     * @param currents
     * @param totals
     */
    public ExpenseSheetPage(int currents, int totals) {
        this.currents = currents;
        this.totals = totals;
    }
    
    /**
     * 
     * @return
     */
    public boolean isEndPage() {
        return this.currents == this.totals;
    }
    

    /**
     * @return the currents
     */
    public int getCurrents() {
        return currents;
    }

    /**
     * @return the totals
     */
    public int getTotals() {
        return totals;
    }

    /**
     * @param currents the currents to set
     */
    public void setCurrents(int currents) {
        this.currents = currents;
    }

    /**
     * @param totals the totals to set
     */
    public void setTotals(int totals) {
        this.totals = totals;
    }
    
}
